package com.example.ict.mapper;

import com.example.ict.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    @Insert("insert into `user` (username , name , password, deptId , postId , roleId ) " +
            "values (#{username},  #{name}, #{password},  #{deptId}, #{postId}, #{roleId})")
    void insert(User user);
}
